SVM: avoid UB in intercept mask definitions
authorJan Beulich <jbeulich@suse.com>
Fri, 20 Nov 2020 07:28:27 +0000 (08:28 +0100)
committerJan Beulich <jbeulich@suse.com>
Fri, 20 Nov 2020 07:28:27 +0000 (08:28 +0100)
commitdee7d981b99435b6c37126821af7826bd9a9d36c
tree4c182210666c190b603c1d77949abd048ba07169
parentbebb49125fd305ae7814d7d4fcc05a85cc2a21e0
SVM: avoid UB in intercept mask definitions

Found by looking for patterns similar to the one Julien did spot in
pci_vtd_quirks().

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Andrew Cooper <andrew.cooper3@citrix.com>
xen/include/asm-x86/hvm/svm/vmcb.h